class Person:
    def __init__(self, name, age):
        self.name = name
        self.age = age
        
    def __call__(self):
        print(self.name, self.age)
        
    def hello(self):
        print(self.name, self.age)

p = Person('张三', 18)
p()
p.hello()
